using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

[Serializable]
public class Record
{
    public string Name;
    public string Age;
    public string Phone;
}

[Serializable]
public class DataRecord
{
    public System.Collections.Generic.List<Record> recs = new System.Collections.Generic.List<Record>();
    public int TotalCount
    {
        get { return recs.Count; }
    }
    public string title
    {
        get { return "Titulo"; }
    }

    public DataRecord()
    {
        for (int i = 0; i < 10; i++)
        {
            Record rec = new Record();
            rec.Age = i.ToString();
            rec.Name = "bc1" + i;
            rec.Phone = i.ToString();
            this.recs.Add(rec);
        }
    }
}